package cn.sfrog.project.biz.admin.domain.vo;

import cn.sfrog.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@Data
@ApiModel(description = "学研项目")
public class BizStudyProjectVO {

    @ApiModelProperty("id")
    @Excel(name = "id")
    private Long id;

    @ApiModelProperty("医院id")
    private Long hospitalId;

    @ApiModelProperty("项目名称")
    @Excel(name = "项目名称")
    private String name;

    @ApiModelProperty("项目封面")
    @Excel(name = "项目封面")
    private String image;

    @ApiModelProperty("项目介绍")
    @Excel(name = "项目介绍")
    private String introduction;

    @ApiModelProperty("项目金额")
    @Excel(name = "项目金额")
    private BigDecimal price;

    @ApiModelProperty("项目开始时间")
    @Excel(name = "项目开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date projectStartTime;

    @ApiModelProperty("项目结束时间")
    @Excel(name = "项目结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date projectEndTime;

    @ApiModelProperty("成员数量")
    @Excel(name = "成员数量")
    private Integer memberCount;

    @ApiModelProperty("项目进度")
    @Excel(name = "项目进度")
    private BigDecimal schedule;

    @ApiModelProperty("排序")
    @Excel(name = "排序")
    private Integer sort;

    @ApiModelProperty("项目状态【1=未开始 2=进行中 3=已结束 4=已取消】")
    @Excel(name = "项目状态【1=未开始 2=进行中 3=已结束 4=已取消】")
    private String projectStatus;

    @ApiModelProperty("开始结束时间数组")
    private List<Date> dateValue;

    @ApiModelProperty("项目成员列表")
    private  List<BizStudyProjectMemberResultVO> doctorList;

    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

    /** 募集金额*/
    private BigDecimal raisedAmount;


    /** 分配方式【1=按金额 2= 按比例】 */
    private String allocation;

    /** 审核状态【0=未审核 1=已审核】 */
    private String auditStatus;

    @ApiModelProperty("实际结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date realEndTime;



    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String images;

    private List<String> imageList;




}
